package cn.itcast.service;

import cn.itcast.domain.Student;

import java.util.ArrayList;

public interface BaseService {
    Student findByStudentnameAndPassword(String username,String password);
    ArrayList<Student> findAllStudent();
    int insertStudent(String username,String password);
    void deleteStudent(Integer id);

    void updateStudent(Student stu);

    Student findStudentById(int update_id);
}
